import java.util.Scanner;

public class HomeWorkDemo03 {
    public static void main(String[] args) {
//        Scanner scanner = new Scanner(System.in);
        for (int i = 0; i < 31; i++) {// 求鸡的个数
            int j = 30 - i;// 兔的个数
            if (i * 2 + j * 4 == 80) {
                System.out.println(i + "-----" + j);
            }
        }


    }
}
